#include "Util.hpp"

int main() {
    FileUtil f;
    std::string str;
    if (!f.GetContent(&str))
        return -1;
    
    std::cout << str << std::endl;
    Json::Value root;
    if (JsonUtil::UnSerialize(str, &root)) {
        std::cout << root << std::endl;
        std::cout << root["num"].asInt() << std::endl;
        std::cout << root["str"].asString() << std::endl;
    }
    return 0;
}